package database.datastructure;

import java.util.Map;
import java.util.Map.Entry;

public class ExprEvalTest {
	public static void main(String[] args) {
		String testExpr = "-A*3";
		ExpressionEval exprEval = new ExpressionEval();
		/*String str = "100";
		System.out.println(Integer.parseInt(str));
		*/
		Map<String, Integer> resExprMap = exprEval.evaluateExpression(testExpr);
		for (Entry<String, Integer> resExprMapEntry : resExprMap.entrySet()) {
			System.out.println(resExprMapEntry.getKey()+resExprMapEntry.getValue());
		}
	}
}